package edu.sctu.practice.class02.luohui.test01;
import java.util.Scanner;
/**
 * Created by asus on 2015/10/9.
 */
public class A {
    private int number=100;
    public void guessnumber() {
        Scanner account =new Scanner(System.in);
        System.out.println("请输入你要输入的值：");
        int a=account.nextInt();
        if(a>number){
            System.out.println("大了");
        }else if(a<number){
            System.out.println("小了");
        }else{
            System.out.println("你猜对了");
        }
    }



}
